Optimal. Leaf size=44 \[ -\frac {1}{2} \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \log \left (-\frac {b}{a x^2}\right )-\frac {1}{2} p \text {Li}_2\left (1+\frac {b}{a x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2504, 2441,
2352} \begin {gather*} -\frac {1}{2} p \text {PolyLog}\left (2,\frac {b}{a x^2}+1\right )-\frac {1}{2} \log \left (-\frac {b}{a x^2}\right ) \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2352
Rule 2441
Rule 2504
Rubi steps
\begin {align*} \int \frac {\log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{x} \, dx &=-\left (\frac {1}{2} \text {Subst}\left (\int \frac {\log \left (c (a+b x)^p\right )}{x} \, dx,x,\frac {1}{x^2}\right )\right )\\ &=-\frac {1}{2} \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \log \left (-\frac {b}{a x^2}\right )+\frac {1}{2} (b p) \text {Subst}\left (\int \frac {\log \left (-\frac {b x}{a}\right )}{a+b x} \, dx,x,\frac {1}{x^2}\right )\\ &=-\frac {1}{2} \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \log \left (-\frac {b}{a x^2}\right )-\frac {1}{2} p \text {Li}_2\left (1+\frac {b}{a x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 45, normalized size = 1.02 \begin {gather*} -\frac {1}{2} \log \left (c \left (a+\frac {b}{x^2}\right )^p\right ) \log \left (-\frac {b}{a x^2}\right )-\frac {1}{2} p \text {Li}_2\left (\frac {a+\frac {b}{x^2}}{a}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {\ln \left (c \left (a +\frac {b}{x^{2}}\right )^{p}\right )}{x}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 89 vs.
\(2 (39) = 78\).
time = 0.27, size = 89, normalized size = 2.02 \begin {gather*} \frac {1}{2} \, b p {\left (\frac {2 \, \log \left (a + \frac {b}{x^{2}}\right ) \log \left (x\right )}{b} + \frac {2 \, \log \left (x\right )^{2}}{b} - \frac {2 \, \log \left (\frac {a x^{2}}{b} + 1\right ) \log \left (x\right ) + {\rm Li}_2\left (-\frac {a x^{2}}{b}\right )}{b}\right )} - p \log \left (a + \frac {b}{x^{2}}\right ) \log \left (x\right ) + \log \left ({\left (a + \frac {b}{x^{2}}\right )}^{p} c\right ) \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\log {\left (c \left (a + \frac {b}{x^{2}}\right )^{p} \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\ln \left (c\,{\left (a+\frac {b}{x^2}\right )}^p\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________